﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Iguana.Core.HypterText
{
    public interface IAttribute
    {
        bool Required { get; set; }
        string Name { get; set; }
        string Value { get; set; }
        AttributeDataType Type { get; set; }
        string ToString();
        HTML4Compliance CompiancyObject { get; }

        // NOTE: If an attribute does not need predefined values, return 'false' for PreDefinedValues then return null for AcceptableValues. DO NOT LEAVE THEM AS 'throw new NotImplementedException();"

        bool PreDefinedValues { get; }
        List<String> AcceptableValues { get; }
    }
}
